package entity.simple;

import java.util.List;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class SimpleTeacher {

  private String name;

  private String course;

  private Double salary;

  private Boolean married;

  private SimpleEducation simpleEducation;

  private List<SimpleStudent> simpleStudents;

  public SimpleTeacher(String name, String course, Double salary, Boolean married,
      SimpleEducation simpleEducation) {
    this.name = name;
    this.course = course;
    this.salary = salary;
    this.married = married;
    this.simpleEducation = simpleEducation;
  }

}
